/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package spatialmarketplace.cem.model;

/**
 *  Handles Advertising Objects
 * @author Camila
 */
public class SMAd {
    //Fields in Database
    private Integer adId; 
    private String adTitle;
    private String adImageLocation;
    private String adLink;
    private String adKeywords;

    /**
     * Default constructor with all the attributes
     * @param adId
     * @param adTitle to identify the ad
     * @param adImageLocation to display the image
     * @param adLink a link where the client wants the advertising to go to
     * @param adKeywords to provide targeted advertising when the system saves information about its users
     */
    public SMAd(Integer adId, String adTitle, String adImageLocation, String adLink, String adKeywords) {
        this.adId = adId;
        this.adTitle = adTitle;
        this.adImageLocation = adImageLocation;
        this.adLink = adLink;
        this.adKeywords = adKeywords;
    }

    
    public Integer getAdId() {
        return adId;
    }

    public void setAdId(Integer adId) {
        this.adId = adId;
    }

    public String getAdImageLocation() {
        return adImageLocation;
    }

    public void setAdImageLocation(String adImageLocation) {
        this.adImageLocation = adImageLocation;
    }

    public String getAdKeywords() {
        return adKeywords;
    }

    public void setAdKeywords(String adKeywords) {
        this.adKeywords = adKeywords;
    }

    public String getAdLink() {
        return adLink;
    }

    public void setAdLink(String adLink) {
        this.adLink = adLink;
    }

    public String getAdTitle() {
        return adTitle;
    }

    public void setAdTitle(String adTitle) {
        this.adTitle = adTitle;
    }
    
    
}
